<script setup lang="ts">
import YHeader from '@/components/YHeader.vue';
import { onMounted, ref } from 'vue';

const num = ref(0);

onMounted(() => {
    num.value =  Math.floor(Math.random() * (90 - 80 + 1)) + 80;
})

</script>

<template>
    <div class="container">
        <YHeader></YHeader>
        <div class="content">
            <div>
                <p>您的分数为：{{ num }}</p>
            </div>
        </div>
    </div>
</template>

<style lang="scss" scoped>
.container {
    background-color: whitesmoke;
    .content {
        margin: 3%;
        border-radius: 15px;
        background-color: white;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}
</style>